package com.xuetang9.t9.hotel.mapper.condition.impl;

import com.xuetang9.t9.hotel.mapper.condition.ICondition;

public class CommodityInfoCondition extends PageCondition implements ICondition {

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品类别
     */
    private Integer type;

    public CommodityInfoCondition() {
    }

    public CommodityInfoCondition(Integer currPage, Integer pageSize) {
        super(currPage, pageSize);
    }

    public CommodityInfoCondition(String name, Integer type) {
        this.name = name;
        this.type = type;
    }

    public CommodityInfoCondition(Integer currPage, Integer pageSize, String name, Integer type) {
        super(currPage, pageSize);
        this.name = name;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
